<?php

class Admin_Model_Term_Term implements Admin_Model_ModelInterface {
	protected $_id;
	protected $_name;
	protected $_value;
	protected $_type;
	protected $_parentId;
	/*protected $_created;
	protected $_modified;
	protected $_published;
	protected $_userId;
	protected $_meta;*/
	
	public function __set($name, $value) {
		$this->$name = $value;
	}
	
	public function __get($name) {
		return $this->$name;
	}
	
	public function getId() {
		return $this->_id;
	}

	/**
	 * 
	 * @param type $id
	 * @return \Admin_Model_Post_Post
	 */
	public function setId($id) {
		$this->_id = $id;
		
		return $this;
	}

	public function getName() {
		return $this->_name;
	}

	public function setName($name) {
		$this->_name = $name;
		
		return $this;
	}

	public function getValue() {
		return $this->_value;
	}

	public function setValue($value) {
		$this->_value = $value;
		
		return $this;
	}

	public function getType() {
		return $this->_type;
	}

	public function setType($type) {
		$this->_type = $type;
		
		return $this;
	}

	public function getParentId() {
		return $this->_parentId;
	}

	public function setParentId($parentId) {
		$this->_parentId = $parentId;
		
		return $this;
	}
}